/**
 * @author
 * @version V1.0
 */
package com.hc.service.service;

import com.hc.comm.base.IBaseService;
import com.hc.service.model.AppMonitorModel;

import java.util.List;

/**
 * app性能监控表的业务层接口
 *
 * @author
 */
public interface IAppMonitorService extends IBaseService<AppMonitorModel> {

    int getLoadTimeCount(String currentName, String startTime, String endTime, String platform, String startData, String endData);

    int getStayTimeCount(String currentName, String startTime, String endTime, String platform,String startData, String endData);

    List getAllUrlNum(int pageStart, int pageEnd, String platform);

    /**
     * 按条件查找某个接口的访问次数
     *
     * @param urlName
     * @param netState
     * @param yjdUrlState
     * @param startTime
     * @param endTime
     * @param platform    平台
     * @return
     */
    List getUrlState(String urlName, Integer netState, String yjdUrlState,
                     String startTime, String endTime,
                     String reqStartTime, String reqEndTime,
                     String platform);

    List getAllPageName(String platform);

    List getUrlStateCount(int pageStart, int pageEnd, String platform);

    List getPageStateCount(int pageStart, int pageEnd, String platform);
}
